﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Web.aspx.cs" Inherits="RegisterationSystem.Space_Preschools.Web" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="GridView1" runat="server"></asp:GridView>
    </div>
        <br /> <br />
        <div style="align:center;">
            <div style="font-weight:bold; background:#24b6f6; text-align: center;font-size:25px;">&nbsp;幼儿园信息</div>
             <div  style="margin-top:5px; text-align: center;">
            <table style="align:center; width:500px" cellspacing="0" cellpadding="0" border="1" align="center">
                <tr>
                    <td>学生姓名</td>
                    <td>幼儿园名称</td>
                    <td>学校名称</td>
                </tr>
           <%foreach ( System.Data.DataRow dr in ds.Tables[0].Rows)
             {%>

            <tr>
                <td><%=dr["学生姓名"] %></td>
                  <td><%=dr["幼儿园名称"] %></td>
               <% a= dr["Status"].ToString() ;%> 
                  <% if(a=="0") 
                {%> 
                <td>未分配</td>
               <%    }
                    if(a=="1")
                {%>
                <td>已分配，待审核</td>
               <%   }
                    if( a=="2")
                { %>
                <td><%=dr["学校名称"] %></td>
                <%   }%>
                  
            </tr>
           <% } %>  
               </table>
       </div>       
        </div>
      <br /><br />
        <div style="text-align: center">
            

            <a href="passaspx.aspx?id='<%=S %>>'">修改密码</a>
            <% %> 
        </div>
    </form>
</body>
</html>
